home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
src
/
include
/
yycgraph.w
< prev
next >
Wrap
Text File
|
1993-07-08
|
1KB
|
33 lines
# define beginint(a)
# define closeint(a)
# define readint(a) (void) fscanf (yyf, "%d", & a);
# define writeint(a) (void) fprintf (yyf, "%d", a);
# define getint(a) yyGet ((char *) & a, sizeof (a));
# define putint(a) yyPut ((char *) & a, sizeof (a));
# define copyint(a, b)
# define equalint(a, b) a == b
# define beginbool(a)
# define closebool(a)
# define readbool(a) a = fgetc (yyf) == 'T';
# define writebool(a) (void) fputc (a ? 'T' : 'F', yyf);
# define getbool(a) yyGet ((char *) & a, sizeof (a));
# define putbool(a) yyPut ((char *) & a, sizeof (a));
# define copybool(a, b)
# define equalbool(a, b) a == b
# define begintObject(a)
# define closetObject(a)
# define readtObject(a) yyReadHex ((unsigned char *) & a, sizeof (a));
# define writetObject(a) yyWriteHex ((unsigned char *) & a, sizeof (a));
# define gettObject(a) yyGet ((char *) & a, sizeof (a));
# define puttObject(a) yyPut ((char *) & a, sizeof (a));
# define copytObject(a, b)
# define equaltObject(a, b) memcmp ((char *) & a, (char *) & b, sizeof (a)) == 0
# define begintCallGraph(a) a = NoCallGraph;
# define closetCallGraph(a) yyChild = a; a = NoCallGraph; yyReleaseCallGraph (yyChild);
# define readtCallGraph(a) yyReadCallGraph (a);
# define writetCallGraph(a) yyWriteCallGraph (a);
# define gettCallGraph(a) yyGetCallGraph (a);
# define puttCallGraph(a) yyPutCallGraph (a);
# define copytCallGraph(a, b) yyCopyCallGraph (b, & a);
# define equaltCallGraph(a, b) IsEqualCallGraph (a, b)